import pandas as pd

# 定义文件名
file1 = 'data_c1.csv'
file2 = 'data_c4.csv'
file3 = 'data_c6.csv'
# 读取文件
df1 = pd.read_csv(file1)
df2 = pd.read_csv(file2)
df3 = pd.read_csv(file3)
# 拼接DataFrame
combined_df = pd.concat([df1, df2, df3], ignore_index=True)
# 如果需要，可以将合并后的DataFrame保存到新文件
combined_df.to_csv('data.csv', index=None)
